package com.erp.domain;

import com.erp.common.annotation.Excel;
import com.erp.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Author:lxs
 * @CreateTime: 2025-09-05
 * @Description:出库审核控制层
 */
public class ErpOutboundAudit extends BaseEntity {
    /** 分页参数 */
    private Integer pageNum;
    private Integer pageSize;
    private static final long serialVersionUID = 1L;

    /** 出库单号 */
    private String outboundNo;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String businessType;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String auditStatus;

    /** 发起人 */
    @Excel(name = "发起人")
    private Long initiator;

    /** 发起时间 */
    @JsonFormat(pattern = "yyyy-MM-dd ")
    @Excel(name = "发起时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long approver;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approveTime;

    @Override
    public String toString() {
        return "ErpOutboundAudit{" +
                "pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", outboundNo='" + outboundNo + '\'' +
                ", businessType='" + businessType + '\'' +
                ", auditStatus='" + auditStatus + '\'' +
                ", initiator=" + initiator +
                ", createTime=" + createTime +
                ", approver=" + approver +
                ", approveTime=" + approveTime +
                "} " + super.toString();
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getOutboundNo() {
        return outboundNo;
    }

    public void setOutboundNo(String outboundNo) {
        this.outboundNo = outboundNo;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public Long getInitiator() {
        return initiator;
    }

    public void setInitiator(Long initiator) {
        this.initiator = initiator;
    }
    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getApprover() {
        return approver;
    }

    public void setApprover(Long approver) {
        this.approver = approver;
    }

    public Date getApproveTime() {
        return approveTime;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }
}
